package com.ybg.employee.controller;


import com.ybg.common.entity.Message;
import com.ybg.employee.business.service.EmployeeService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@Api("员工模块员工信息处理")
@RestController
@RequestMapping("/emp")
public class EmployeeController {
    private EmployeeService employeeService;

    @Autowired
    public EmployeeController(EmployeeService employeeService) {
        this.employeeService = employeeService;
    }

    @GetMapping("/test")
    public Message test(){

        return Message.succeed("here you are!");
    }
}
